package com.gowants.pems.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gowants.pems.model.SysAppUpdate;

public interface SysAppUpdateMapper {

	/**
	 * 查询
	 * @param record
	 * @return
	 */
	public List<SysAppUpdate> select(@Param("record")SysAppUpdate record);
	
	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	public SysAppUpdate selectOne(@Param("id")String id);
	
	
	public SysAppUpdate selectByCode(@Param("code")String code);
	
	/**
	 * 新增
	 * @param record
	 * @return
	 */
	public int save(@Param("record")SysAppUpdate record);
	
	
	public int saveCheck(@Param("record")SysAppUpdate record);
	
	/**
	 * 修改
	 * @param record
	 * @return
	 */
	public int update(@Param("record")SysAppUpdate record);
	
	/**
	 * 删除
	 * @param id
	 * @return
	 */
	public int delete(@Param("id")String id);
}
